package com.thoughtworks.conference.constants;

import com.thoughtworks.conference.utils.ConferenceUtils;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;

/**
 * <p>Title: 系统常量类</p>
 * <p>Description: 用于描述，并定义系统的常量</p>
 *
 * @author <a href="mailTo:bingxuewulei@outlook.com">wanglei</a>
 * @version 1.0
 * @history: Created by wanglei on  2019/4/23
 */
public class CommonConstants {
    // 注释标识
    public static final String COMENT_FLG = "//";
    // 会议时间的单位 lightning
    public static final String LIGHTNING_TALK = "lightning";
    // 会议时间lightning 和分钟换上单位
    public static final int LIGHTNING_TALK_VALUE= 5;
    // 早上会议开始时间
    public static final Calendar  SESSION_START_TIME = ConferenceUtils.getCalendarTime(9,0);
    // 下午会议开始时间
    public static final Calendar  AFTRNOON_SESSION_START_TIME = ConferenceUtils.getCalendarTime(13,0);
    // 午饭时间
    public static final Calendar LUNCH_SESSION_TIME = ConferenceUtils.getCalendarTime(12,0);
    // 网络活动时间
    public static final Calendar  NETWORK_SESSION_TIME = ConferenceUtils.getCalendarTime(5,0);
    // 早上总共可安排会议总时间
    public static final int  MORNING_SESSION_MINUTES = 180;
    // 下午可安排总时间
    public static final int AFTERNOON_SESSION_MINUTES = 240;
    // 午饭安排
    public static final String LUNCH_STRING = " Lunch";
    // 网络活动安排
    public static final String NET_WORK_STRING = " Networking Event";
    // 会议跟踪字符
    public static final String TRACK_STRING = "Track ";
    // 输出的日期格式
    public static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("hh:mm a",Locale.ENGLISH);
    // 退出标示符
    public static final String EXIT_FLAG = "q";
}
